#ifndef MYTZ_H
#define MYTZ_H

#include <QWidget>
#include<QPushButton>
#include<QDebug>
#include<QTimer>

class mytz : public QPushButton
{
    Q_OBJECT
public:
    //explicit mytz(QWidget *parent = nullptr);
    mytz(QString btnimg);
    int posx;
    int posy;
    bool flag;
    void changeflag();
    QTimer*timer1;
    QTimer*timer2;
    int min=1;
    int max=2;
    bool iswin;
    void mousePressEvent(QMouseEvent*e);


signals:

public slots:
};

#endif // MYTZ_H
